<%--
    Document   : index
    Created on : Jul 7, 2011, 1:23:40 AM
    Author     : Thanhluan216
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<jsp:include page="header.jsp"></jsp:include>
            <div id="main">
                <div id="slidebar">
                    <div id="login">
                        <jsp:include page="login.jsp"></jsp:include>
                    </div>
                    <div id="search">
                        <jsp:include page="search.jsp"></jsp:include>
                    </div>
                    <div id="product">
                        <jsp:include page="categorypanel.jsp"></jsp:include>
                    </div>
                </div>
                <div id="content">
                    <a href="#">Home</a>-><a href="#">My Profile</a>
                    <br/>
                    <h2>Update Profile</h2>
                    <form action="controlertuan">
                    <table border="0">
                        <tr>
                            <td>Username</td>
                            <td><input type="text" name="Username" value="<%=session.getAttribute("username").toString() %>" readonly="readonly"/></td>
                        </tr>
                        <tr>
                            <td>Password</td>
                            <td>***************</td>
                        </tr>

                        <tr>
                            <td>First Name</td>
                            <td><input type="text" name="firstName" value="<%=request.getParameter("firstName") %>"/></td>
                        </tr>
                        <tr>
                            <td>Last Name</td>
                            <td><input type="text" name="LastName" value="<%=request.getParameter("lastName") %>"/></td>
                        </tr>
                        <tr>
                            <td>Email</td>
                            <td><input type="text" name="email" value="<%=request.getParameter("email") %>"/></td>
                        </tr>
                        <tr>
                            <td>Phone No</td>
                            <td><input type="text" name="PhoneNo" value="<%=request.getParameter("phone") %>"/></td>
                        </tr>
                        <tr>
                            <td>Address</td>
                            <td><input type="text" name="Address" value="<%=request.getParameter("address") %>"/></td>
                        </tr>

                        <tr>
                            <td>
                                <input type="hidden" value="UpdateProfile" name="action"/>
                                <input type="submit" value="Update"/>

                            </td>
                            <td>
                                <input type="reset" value="Cancel"/>
                            </td>

                        </tr>
                    </table>
                  </form>
                </div>
            </div>
            <div id="footer">

            </div>
        </div>
    </body>
</html>

